|
Author |
Thread Statistics | Show CCP posts - 0 post(s) |

Drake Draconis
Minmatar Shadow Cadre Xenogenesis Alliance
|
Posted - 2010.07.11 08:43:00 -
[1]
Edited by: Drake Draconis on 11/07/2010 08:43:51 Excellent job... I love this package.
Comments: 1: Instructions would be deathly/dangerous to any noob who didn't know enough about PHPBB systems to be dangerous... strongly urged to find a way to automate the SQL insertion commands via PHP or some such.
2: Might want to set a trap/error code for when you tell the API checker to use "Pre-set" User Groups... triggered an SQL Error... managed to find out that you have to use a pre-set group to make it happy again. Minor but a little annoying if your not the tinker'er type.
3: I got a suggestion for your "why allow more than one corporation/alliance" bit...
Standings... some alliances may want guests or some such... or there may be some corporations with +10 standings... would be nice to have extra sets of permissions set aside for them. Push them to different groups perhaps?
Conclusion - Fantastic addition to any EVE Online PHPBB... I love it. Hope it works when I throw a a crapload of users at it. :)
Question - If you leave API fields blank... does it "assume" your just a guest and not error out? Havn't tried this yet as no one that doesn't play eve will be seeing this board but I'd like to put it on a couple others for just corporations. ========================= CEO of Shadow Cadre http://www.shadowcadre.com ========================= |

Drake Draconis
Minmatar Shadow Cadre Xenogenesis Alliance
|
Posted - 2010.07.15 09:46:00 -
[2]
Email me at [email protected] if you want a set... I'd like to see this project continue with development. ========================= CEO of Shadow Cadre http://www.shadowcadre.com ========================= |

Drake Draconis
Minmatar Shadow Cadre Shadow Confederation
|
Posted - 2010.07.17 08:36:00 -
[3]
Edited by: Drake Draconis on 17/07/2010 08:37:32 OK.
One of the things that didn't get mentioned or looked over was how to kick the module in do automatically check for valid members of ______ according to the API Mod's settings.
Cyerus included a "api_cron.php" file that can be triggered if you surf manually to it... but that's such a pain to do if you forget to do it enough.
CRON is a cronological "egg timer" that basically triggers various tasks on the server/computer in question. The "api_cron.php" file is a script that can be triggered by CRON... but only if you know how to set it up.
Most servers are linux based... and the majority of them (not all) grant SSH access on request to allow you to walk around the jailed_root portion of your web server.
Let me be very clear... this type of thing is not to be taken lightly... you must follow instructions clearly and carefully.
There's a few unknowns that I have yet to figure out answer but they won't break anything.
Step1: You must log into your server's SSH portal. Typically that information is made available on request if your able to do so.
ssh [email protected]
It then asks for password... and may require a signature approval or encryption key addition.
Step2: Make sure your aware of the exact literal location of your files
For example:
~/web/forums/directory/api_mod.php
(~ is relative to your home account/default directory)
Typically PHP is stored in ~/usr/bin/php5 (Cyerus says it requires PHP5 but it MAY run PHP4 (Which is just php)
Step 3: Now that you know where your files are... it's time to test that the script runs. #WARNING - If it finds any accounts on your forums that do not check out... it will deactivate the account. Requiring reactivation by Admin#
/usr/bin/php5 -q web/forums/directory/api_mod.php
you should see some text scroll by with HTML code... that means it works. If it says "no input file found" it means you've not triggered the file correctly. Technically the api_mod.php is NOT an executable script in the eyes of the server... its a script. You have to pass it to PHP to handle and then it will run the commands in that file.
You may have to learn a little more about how your server is configured... can't help you there as all are potentially configured differently but typically its the same... so hopefully you'll be fine.
#If it doesn't work... you can stop here and log out by typing exit And it will leave your server unharmed#
Step 4: time to get the command into CRON. CRON uses a "crontab" to allow you to add your own "cron jobs". Provided the server provider allows access to said feature. Usually they do... they just restrict what it can do.
type this crontab -e
You'll be dumped into a VI Text editor...
type i Use the arrow keys to type the following: 00 00 * * * /usr/bin/php5 -q web/forums/directory/api_mod.php 00 12 * * * /usr/bin/php5 -q web/forums/directory/api_mod.php
hit the ESC Key then SHIFT : (colon). Then type x Hit Enter Your done.
What this does is tell the CRON "daemon" to run that script every 12 hours at 00:00 and 12:00 (your Servers Time Zone not EVE Time)
Google CRON and CRONTAB to learn more how to mess with it. If you think you've messed up you can back up to crontab -e and add a # in front of each line to disable it... or you can erase it.
So yeah... little bit of command line but it should work.
My server emailed me each time it ran the script. So it works.
So if you want to automate it without the fuss... there you go.
Maybe Cyerus will find a way for it to automate that process by installation script? Not sure how you'd do that.
but there you go for you Linux Nerds.
type exit on the command line to close out.
PS: Set the crontab to go off at a time closer to your own to test it... you'll have to figure out which time zone its in to do that! Feel free to come up with quicker "hands free" solutions. Unless you want to manually surf to the page on your own.
========================= CEO of Shadow Cadre http://www.shadowcadre.com ========================= |

Drake Draconis
Minmatar Shadow Cadre Shadow Confederation
|
Posted - 2011.01.04 17:59:00 -
[4]
I'm having an issue here as well.
I've been using the API Mod for some time.... now its time to do an update on both the API mod and the forums.
Can't update the Forums DB as the patcher crashes on your API Mod's entries...
Can't update the API mod because you say to update the forums first.
O.o;;; ========================= CEO of Shadow Cadre http://www.shadowcadre.com ========================= |

Drake Draconis
Minmatar Shadow Cadre Shadow Confederation
|
Posted - 2011.01.09 21:38:00 -
[5]
Still cannot update my forums DB or files or the Mod due to a paradox with the update itself.
I would appreciate help because this patch closes some security holes.
Reinstalling the DB would be unacceptable.
I got 170 Members + who would not like having to re-do the whole damn account business. |

Drake Draconis
Minmatar Shadow Cadre Shadow Confederation
|
Posted - 2011.01.11 06:39:00 -
[6]
Edited by: Drake Draconis on 11/01/2011 06:40:48 Edited by: Drake Draconis on 11/01/2011 06:40:17
Originally by: Norjia Blacksteel Edited by: Norjia Blacksteel on 11/01/2011 03:14:15 My cron job doesn't seem to run at all. One of our members created his account, which worked, then invalidated his limited API to test the cron. Nothing has happened in 72 hours. He can still log in and see all the private boards.
ETA: Ok, I get it. I have to run the cron by hitting the page. Sorry about that!
Check earlier posts *in this thread*... I think I posted a way to run the script automatically.
Requires SSH access however. Others have since improved it... ========================= CEO of Shadow Cadre http://www.shadowcadre.com ========================= |

Drake Draconis
Minmatar Shadow Cadre Shadow Confederation
|
Posted - 2011.01.11 19:00:00 -
[7]
The API Security System (AKA Script) should re-instate the member but only to the group you set originally in the system as far as I know.
Keep in mind the version I run is outdated... If you haven't noticed yet... I'm unable to update because the forums are out of date...and the forums can't update because of the API Mod.
And the authors gone MIA on us.
Your strongly encouraged to automate the script... that way the only thing you have to do is turn it off from the ACP and back on when CCP does their thing. ========================= CEO of Shadow Cadre http://www.shadowcadre.com ========================= |

Drake Draconis
Minmatar Shadow Cadre Shadow Confederation
|
Posted - 2011.01.13 03:40:00 -
[8]
Edited by: Drake Draconis on 13/01/2011 03:44:55 Edited by: Drake Draconis on 13/01/2011 03:43:42 Whoa buddy... we kinda figured your busy... but lack of response/timing is not helpful for us panic/stricken allaince admins who can't update their forums due to a paradox.
Help? Please? ========================= CEO of Shadow Cadre http://www.shadowcadre.com ========================= |

Drake Draconis
Minmatar Shadow Cadre Shadow Confederation
|
Posted - 2011.01.13 03:43:00 -
[9]
Edited by: Drake Draconis on 13/01/2011 03:45:48
Originally by: Demitrios Edited by: Demitrios on 12/01/2011 19:27:55
Originally by: Drake Draconis Still cannot update my forums DB or files or the Mod due to a paradox with the update itself. I would appreciate help because this patch closes some security holes. Reinstalling the DB would be unacceptable. I got 170 Members + who would not like having to re-do the whole damn account business.
Go through with the update, telling it to trash all the modifications, then re-add them after its installed.
Was the only way i could make sure i was getting the new version of phpbb.
You can thank the lazy guys at phpbb for not making a propper modding system like EDK for this. (editing core core = pants on head ******ed)
Plus i spoke to him on Sunday, and he was busy at looking at the code to fix the bugs, so he hasnt gone mia, just afk :).
The update CRASHES at the DB.
I can't exactly "skip that". Nor does it offer such things. Walk-through please? ========================= CEO of Shadow Cadre http://www.shadowcadre.com ========================= |

Drake Draconis
Minmatar Shadow Cadre Shadow Confederation
|
Posted - 2011.01.15 18:35:00 -
[10]
Edited by: Drake Draconis on 15/01/2011 18:35:23 Anyone successfully run the script and such yet? (Just nervous about taking the plunge as of yet) ========================= CEO of Shadow Cadre http://www.shadowcadre.com ========================= |
|

Drake Draconis
Minmatar Shadow Cadre Shadow Confederation
|
Posted - 2011.02.09 17:56:00 -
[11]
The new API changes that CCP announced... are you going to factor those in in a future update? ========================= CEO of Shadow Cadre http://www.shadowcadre.com ========================= |

Drake Draconis
Minmatar Shadow Cadre Shadow Confederation
|
Posted - 2011.03.07 03:23:00 -
[12]
Your requested link - API Updates forthcoming ========================= CEO of Shadow Cadre http://www.shadowcadre.com ========================= |

Drake Draconis
Minmatar Shadow Cadre Shadow Confederation
|
Posted - 2011.03.08 07:55:00 -
[13]
Originally by: Cyerus Edited by: Cyerus on 08/03/2011 01:49:25
Originally by: Drake Draconis Edited by: Drake Draconis on 07/03/2011 04:32:36 Your requested link - API Updates forthcoming
Cyerus - The Update script fails/crashes when I try to use it... your instructions don't say where to put it let alone what it expects... so clarification would help....
Warning: include(./common.php) [function.include]: failed to open stream: No such file or directory in ****removed****/install/new_files/update307pl1to308.php on line 6
Warning: include() [function.include]: Failed opening './common.php' for inclusion (include_path='.:/usr/lib/php5') in ****removed****/install/new_files/update307pl1to308.php on line 6
Fatal error: Call to a member function session_begin() on a non-object in ****removed****/install/new_files/update307pl1to308.php on line 9
The script has to be placed in the root directory of your forum. Instructions on how to use it can be found here.
Your instructions didn't say to put it in the root directory... did so.
Said step 1 complete... now its doing this in the update package - =========== Updating database to latest stable release
Database type :: mysqli Previous version :: 3.0.7-PL1 Updated version :: 3.0.8
Updating database schema
Progress :: No updates required
Updating data
Progress :: . . . . . . . . . . Notice: Undefined index: api_userid in ****removed****/includes/functions_user.php on line 300
Notice: Undefined index: api_limitedkey in ****removed****/includes/functions_user.php on line 301
Fatal error: in ****removed****/includes/db/dbal.php on line 694 =========
And thanks to this I won't be able to do a bloody thing until 24 hours from now (thanks to my job) ========================= CEO of Shadow Cadre http://www.shadowcadre.com ========================= |

Drake Draconis
Minmatar Shadow Cadre Shadow Confederation
|
Posted - 2011.03.09 18:45:00 -
[14]
OK...update took.
But I suspect something is funny funny with the API checking script. The system is booting accounts known to be valid and OK.
Any way to verify that everything is ok?
Some sort of test or manual start to see if the system is successfully working? ========================= CEO of Shadow Cadre http://www.shadowcadre.com ========================= |
|
|
|